<?php


namespace Part26_SharingElementMode\Code1;


class WebSite
{
    private $name;

    public function __construct($name)
    {
        $this->name = $name;
    }

    public function use()
    {
        echo "网站分类：{$this->name}\n";
    }
}